package com.baizhiedu.basic.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: robert.song
 * @Date: Created in 2021/7/31
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Fighter {
    public static Fighter getFighterInstance1() {
        return new Fighter();
    }

    public Fighter getFighterInstance2() {
        return new Fighter(10, "J-20", "A");
    }

    //    服役年限
    private int age;
    //    战机名称
    private String name;
    //    战机型号
    private String model;
}
